package pwd.allen.password;

/**
 * @author 门那粒沙
 * @create 2021-12-19 23:10
 **/
public class Condition {

    /**
     * 验证条件表达式
     */
    private String cond;

    /**
     * 验证描述信息
     */
    private String msg;

    public Condition() {
    }

    public Condition(String cond, String msg) {
        this.cond = cond;
        this.msg = msg;
    }

    public String getCond() {
        return cond;
    }

    public void setCond(String cond) {
        this.cond = cond;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    @Override
    public String toString() {
        return "Condition{" +
                "cond='" + cond + '\'' +
                ", msg='" + msg + '\'' +
                '}';
    }
}
